﻿using System;
using System.Xml.Serialization;

namespace Modelo
{
    [XmlRootAttribute("Header", IsNullable = false)]
    public class Header
    {
        public Header() { }

        /// <summary>
        /// Aqui definimos o titulo do nosso Code Snippet
        /// </summary>
        [XmlElementAttribute(ElementName = "Title", IsNullable = false)]
        public string Title { get; set; }

        /// <summary>
        /// Aqui definimos o atalho que vamos usar
        /// </summary>
        [XmlElement(ElementName = "Shortcut", IsNullable = false)]
        public string Shortcut { get; set; }

        /// <summary>
        /// Aqui definimos a descrição do Code Snippet
        /// </summary>
        [XmlElement(ElementName = "Description", IsNullable = false)]
        public string Description { get; set; }
    }
}
